package io.github.shang11925.sbvuewelearn.service;

import io.github.shang11925.sbvuewelearn.dto.SectionsDTO;
import io.github.shang11925.sbvuewelearn.entity.Sections;

import java.util.List;

public interface SectionsService {
    List<Sections> findAll();

    List<Sections> findByChapterId(Long chapterId);

    void add(SectionsDTO sectionsDTO);
    void delete(Long id);
}
